import instance from '@/utils/request';

//公共字典列表
export function getdictionarysapi(data) {
    return instance.request({
        url: "api/Dictionary/GetSStaffList",
        method: "post",
        data
    })
}

//添加公共字典
export function addSStaffListapi(data) {
    return instance.request({
        url: "api/Dictionary/AddSystemSet",
        method: "post",
        data
    })
}

//字典状态修改
export function updatedictionarys(data) {
    return instance.request({
        url: "api/Dictionary/UpdateState",
        method: "post",
        data
    })
}

//反填公共字典
export function getdictionarysinfoapi(data) {
    return instance.request({
        url: "api/Dictionary/GetSystemSet",
        method: "post",
        data
    })
}

//修改公共字典
export function updatedictionarysapi(data) {
    return instance.request({
        url: "api/Dictionary/UpdateSystemSet",
        method: "post",
        data
    })
}